import request from '@/utils/request'

// 定义多个方法
const apiMethods = {
  path: '/curd',
  create(data) {
    return request({
      url: this.path + '/save',
      method: 'post',
      data
    })
  },
  query_olumns(params) {
    return request({
      url: this.path + '/table_info',
      method: 'get',
      params
    })
  },

}

export default apiMethods
